<!DOCTYPE html>
<html itemscope itemtype="http://schema.org/CreativeWork">
<head>
	<meta charset="UTF-8"/>
	<title>A Dark Room</title>
	<meta itemprop="description" name="description" property="og:description" content="A minimalist text adventure">
	<meta itemprop="image" property="og:image" content="img/adr.png"/>
	<meta itemprop="name" property="og:title" content="A Dark Room"/>
	<link rel="shortcut icon" href="favicon.ico"/>
	<link rel="image_src" href="img/adr.png"/>
	<script src="https://cdn.bootcss.com/jquery/1.10.1/jquery.min.js"></script>
	<script>
		if (!window.jQuery) {
			document.write('<script src="lib/jquery.min.js"><\/script>')
		}
	</script>
	<script src="lib/jquery.color-2.1.2.min.js"></script>
	<script src="lib/jquery.event.move.js"></script>
	<script src="lib/jquery.event.swipe.js"></script>
	<script src="lib/base64.js"></script>
	<script src="lib/translate.js"></script>
	
	<script src="lang/langs.js"></script>
	
	<script>
		// try to read "lang" param's from url
		var lang = decodeURIComponent((new RegExp('[?|&]lang=' + '([^&;]+?)(&|#|;|$)').exec(location.search) || [, ""])[1].replace(/\+/g, '%20')) || null;
		lang = "cn";
		// if no language requested, try to read it from local storage
		if (!lang) {
			try {
				lang = localStorage.lang;
			} catch (e) {
			}
		}
		// if a language different than english requested, load all translations
		if (lang && lang != 'en') {
			document.write('<script src="lang/' + lang + '/strings.js"><\/script>');
			document.write('<link rel="stylesheet" type="text/css" href="lang/' + lang + '/main.css" \/>');
		}
	</script>
	
	<script src="script/Button.js"></script>
	<script src="script/engine.js"></script>
	<script src="script/state_manager.js"></script>
	<script src="script/header.js"></script>
	<script src="script/notifications.js"></script>
	<script src="script/events.js"></script>
	<script src="script/room.js"></script>
	<script src="script/outside.js"></script>
	<script src="script/world.js"></script>
	<script src="script/path.js"></script>
	<script src="script/ship.js"></script>
	<script src="script/space.js"></script>
	<script src="script/prestige.js"></script>
	<script src="script/scoring.js"></script>
	<!-- Event modules -->
	<script src="script/events/global.js"></script>
	<script src="script/events/room.js"></script>
	<script src="script/events/outside.js"></script>
	<script src="script/events/encounters.js"></script>
	<script src="script/events/setpieces.js"></script>
	
	<script type="text/javascript">
		var oldIE = false;
	</script>
	<!-- [if lt IE 9]>
	<script type="text/javascript">oldIE = true;</script>
	<![endif]-->
	
	<link rel="stylesheet" type="text/css" href="css/main.css"/>
	<link rel="stylesheet" type="text/css" href="css/room.css"/>
	<link rel="stylesheet" type="text/css" href="css/outside.css"/>
	<link rel="stylesheet" type="text/css" href="css/path.css"/>
	<link rel="stylesheet" type="text/css" href="css/world.css"/>
	<link rel="stylesheet" type="text/css" href="css/ship.css"/>
	<link rel="stylesheet" type="text/css" href="css/space.css"/>
	
	<script src="script/localization.js"></script>

</head>
<body>
<div id="wrapper">
	<div id="saveNotify">
		<script>document.write(_("saved."));</script>
	</div>
	<div id="content">
		<div id="outerSlider">
			<div id="main">
				<div id="header"></div>
			</div>
		</div>
	</div>
</div>
<script>
	var _hmt = _hmt || [];
	(function () {
		var hm = document.createElement("script");
		hm.src = "https://hm.baidu.com/hm.js?c7db5f9bc7285f5b3fc4973425748131";
		var s = document.getElementsByTagName("script")[0];
		s.parentNode.insertBefore(hm, s);
	})();
</script>
<script>
	(function () {
		var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?ba19ea49e28595351ee2d8ac9c028cd0" : "https://jspassport.ssl.qhimg.com/11.0.1.js?ba19ea49e28595351ee2d8ac9c028cd0";
		document.write('<script src="' + src + '" id="sozz"><\/script>');
	})();
	
	Engine.turnLightsOff();

</script>
</body>
</html>

